        
        <html>
        <head>
        <script type="text/javascript">
                    function tiao()
                    {
                    	var go=document.getElementById('go').value;
                    	if(!isNaN(go)&&go!="")
                    	{
                    	    location.href='empslist.php?pagenow='+go;
                    	}
                    	else
                    	{
                    	    alert('必须输入数字');
                    	}
                    }
                    function deleteuser()
                    {
                        return confirm('boy 你确定你要删除？？');
                    }
                    </script>
        </head>
        </html>
        <?php
        header("content-type:text/html;charset=utf-8");
        require 'EmpsService.class.php';
        require 'Fenye.class.php';
        $empsservice = new EmpsService();
        $fenye = new Fenye();
        $fenye->pagenow = 1;
        if (isset($_GET['pagenow'])) {
            $fenye->pagenow = $_GET['pagenow'];
        }
        $fenye = $empsservice->showemps($fenye);
        // 打印到页面上
        echo $fenye->show;
        //file_put_contents("I:/test.txt",$fenye->show."\r\n",FILE_APPEND);
        echo "<br/>指定到<input type='text' id='go' style='width:30px'/>页<input type='button' value='跳' onclick='tiao()'/>";
                    
        
            
            